<template>
    <div class="cart">
        <h2> TS 购物车 </h2>
        <hr>
        <h2>商品列表</h2>
        <product-list />
        <hr>
        <h2>购物车</h2>
        <cart />
    </div>
</template>

<script lang="ts">
import { Vue } from 'vue-property-decorator'
import ProductList from "@/components/ProductList.vue";
import Cart from "@/components/Cart.vue";
// 这个骚操作 非要在包一层，为什么不直接用到views里面的shoppingCart??
export default Vue.extend({
    components: {
        ProductList,
        Cart
    }
})
</script>

